package com.tiheima.handler.exception;

import com.tiheima.handler.enums.Code;

/**
 * @author byZhao
 * @create 2025/5/20 16:22
 * @description 自定义业务异常
 */
public class BizException extends BaseException{
    public BizException(String message) {
        super(message);
    }
    public BizException(Code code) {
       super(code.getMessage());
    }
}
